package org;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) {
        FileOutputStream fos = null;
        try {
            fos = new FileOutputStream("fos.txt");
            fos.write(97);
            System.out.println("写入完毕");
            System.out.println("分支上做的输出");
            System.out.println("新的分支上做的输出");
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
